//
//	GetResumeByUserIdRootClass.m
//	Model file generated using JSONExport: https://github.com/Ahmed-Ali/JSONExport



#import "GetResumeByUserIdRootClass.h"

NSString *const kGetResumeByUserIdRootClassEduExperienceList = @"eduExperienceList";
NSString *const kGetResumeByUserIdRootClassEmail = @"email";
NSString *const kGetResumeByUserIdRootClassExpectedModel = @"expectedModel";
NSString *const kGetResumeByUserIdRootClassExpectedModelCode = @"expectedModelCode";
NSString *const kGetResumeByUserIdRootClassExpectedSalary = @"expectedSalary";
NSString *const kGetResumeByUserIdRootClassExpectedSalaryCode = @"expectedSalaryCode";
NSString *const kGetResumeByUserIdRootClassExpectedWork = @"expectedWork";
NSString *const kGetResumeByUserIdRootClassExpectedWorkCode = @"expectedWorkCode";
NSString *const kGetResumeByUserIdRootClassExpectedWorkplace = @"expectedWorkplace";
NSString *const kGetResumeByUserIdRootClassExpectedWorkplaceCode = @"expectedWorkplaceCode";
NSString *const kGetResumeByUserIdRootClassHeadImg = @"headImg";
NSString *const kGetResumeByUserIdRootClassIsVeteran = @"isVeteran";
NSString *const kGetResumeByUserIdRootClassLabelList = @"labelList";
NSString *const kGetResumeByUserIdRootClassLocation = @"location";
NSString *const kGetResumeByUserIdRootClassLocationCode = @"locationCode";
NSString *const kGetResumeByUserIdRootClassMaxEducation = @"maxEducation";
NSString *const kGetResumeByUserIdRootClassMaxEducationCode = @"maxEducationCode";
NSString *const kGetResumeByUserIdRootClassMobile = @"mobile";
NSString *const kGetResumeByUserIdRootClassProjectExperienceList = @"projectExperienceList";
NSString *const kGetResumeByUserIdRootClassRemark = @"remark";
NSString *const kGetResumeByUserIdRootClassResumeId = @"resumeId";
NSString *const kGetResumeByUserIdRootClassSelfDescription = @"selfDescription";
NSString *const kGetResumeByUserIdRootClassSex = @"sex";
NSString *const kGetResumeByUserIdRootClassSkillList = @"skillList";
NSString *const kGetResumeByUserIdRootClassUserName = @"userName";
NSString *const kGetResumeByUserIdRootClassWorkExperienceList = @"workExperienceList";
NSString *const kGetResumeByUserIdRootClassWorkLife = @"workLife";
NSString *const kGetResumeByUserIdRootClassBirthYear = @"birthYear";
NSString *const kGetResumeByUserIdRootClassBirthMonth = @"birthMonth";
@interface GetResumeByUserIdRootClass ()
@end
@implementation GetResumeByUserIdRootClass




/**
 * Instantiate the instance using the passed dictionary values to set the properties values
 */

-(instancetype)initWithDictionary:(NSDictionary *)dictionary
{
    self = [super init];
    if(dictionary[kGetResumeByUserIdRootClassEduExperienceList] != nil && [dictionary[kGetResumeByUserIdRootClassEduExperienceList] isKindOfClass:[NSArray class]]){
        NSArray * eduExperienceListDictionaries = dictionary[kGetResumeByUserIdRootClassEduExperienceList];
        NSMutableArray * eduExperienceListItems = [NSMutableArray array];
        for(NSDictionary * eduExperienceListDictionary in eduExperienceListDictionaries){
            GetResumeByUserIdEduExperienceList * eduExperienceListItem = [[GetResumeByUserIdEduExperienceList alloc] initWithDictionary:eduExperienceListDictionary];
            [eduExperienceListItems addObject:eduExperienceListItem];
        }
        self.eduExperienceList = eduExperienceListItems;
    }
    if(![dictionary[kGetResumeByUserIdRootClassEmail] isKindOfClass:[NSNull class]]){
        self.email = dictionary[kGetResumeByUserIdRootClassEmail];
    }
    if(![dictionary[kGetResumeByUserIdRootClassExpectedModel] isKindOfClass:[NSNull class]]){
        self.expectedModel = dictionary[kGetResumeByUserIdRootClassExpectedModel];
    }
    if(![dictionary[kGetResumeByUserIdRootClassExpectedModelCode] isKindOfClass:[NSNull class]]){
        self.expectedModelCode = dictionary[kGetResumeByUserIdRootClassExpectedModelCode];
    }
    if(![dictionary[kGetResumeByUserIdRootClassExpectedSalary] isKindOfClass:[NSNull class]]){
        self.expectedSalary = dictionary[kGetResumeByUserIdRootClassExpectedSalary];
    }
    if(![dictionary[kGetResumeByUserIdRootClassExpectedSalaryCode] isKindOfClass:[NSNull class]]){
        self.expectedSalaryCode = dictionary[kGetResumeByUserIdRootClassExpectedSalaryCode];
    }
    if(![dictionary[kGetResumeByUserIdRootClassExpectedWork] isKindOfClass:[NSNull class]]){
        self.expectedWork = dictionary[kGetResumeByUserIdRootClassExpectedWork];
    }
    if(![dictionary[kGetResumeByUserIdRootClassExpectedWorkCode] isKindOfClass:[NSNull class]]){
        self.expectedWorkCode = dictionary[kGetResumeByUserIdRootClassExpectedWorkCode];
    }
    if(![dictionary[kGetResumeByUserIdRootClassExpectedWorkplace] isKindOfClass:[NSNull class]]){
        self.expectedWorkplace = dictionary[kGetResumeByUserIdRootClassExpectedWorkplace];
    }
    if(![dictionary[kGetResumeByUserIdRootClassExpectedWorkplaceCode] isKindOfClass:[NSNull class]]){
        self.expectedWorkplaceCode = dictionary[kGetResumeByUserIdRootClassExpectedWorkplaceCode];
    }
    if(![dictionary[kGetResumeByUserIdRootClassHeadImg] isKindOfClass:[NSNull class]]){
        self.headImg = dictionary[kGetResumeByUserIdRootClassHeadImg];
    }
    if(![dictionary[kGetResumeByUserIdRootClassIsVeteran] isKindOfClass:[NSNull class]]){
        self.isVeteran = [dictionary[kGetResumeByUserIdRootClassIsVeteran] boolValue];
    }
    
    if(dictionary[kGetResumeByUserIdRootClassLabelList] != nil && [dictionary[kGetResumeByUserIdRootClassLabelList] isKindOfClass:[NSArray class]]){
        NSArray * labelListDictionaries = dictionary[kGetResumeByUserIdRootClassLabelList];
        NSMutableArray * labelListItems = [NSMutableArray array];
        for(NSDictionary * labelListDictionary in labelListDictionaries){
            GetResumeByUserIdLabelList * labelListItem = [[GetResumeByUserIdLabelList alloc] initWithDictionary:labelListDictionary];
            [labelListItems addObject:labelListItem];
        }
        self.labelList = labelListItems;
    }
    if(![dictionary[kGetResumeByUserIdRootClassLocation] isKindOfClass:[NSNull class]]){
        self.location = dictionary[kGetResumeByUserIdRootClassLocation];
    }
    if(![dictionary[kGetResumeByUserIdRootClassLocationCode] isKindOfClass:[NSNull class]]){
        self.locationCode = dictionary[kGetResumeByUserIdRootClassLocationCode];
    }
    if(![dictionary[kGetResumeByUserIdRootClassMaxEducation] isKindOfClass:[NSNull class]]){
        self.maxEducation = dictionary[kGetResumeByUserIdRootClassMaxEducation];
    }
    if(![dictionary[kGetResumeByUserIdRootClassMaxEducationCode] isKindOfClass:[NSNull class]]){
        self.maxEducationCode = dictionary[kGetResumeByUserIdRootClassMaxEducationCode];
    }
    if(![dictionary[kGetResumeByUserIdRootClassMobile] isKindOfClass:[NSNull class]]){
        self.mobile = dictionary[kGetResumeByUserIdRootClassMobile];
    }
    if(dictionary[kGetResumeByUserIdRootClassProjectExperienceList] != nil && [dictionary[kGetResumeByUserIdRootClassProjectExperienceList] isKindOfClass:[NSArray class]]){
        NSArray * projectExperienceListDictionaries = dictionary[kGetResumeByUserIdRootClassProjectExperienceList];
        NSMutableArray * projectExperienceListItems = [NSMutableArray array];
        for(NSDictionary * projectExperienceListDictionary in projectExperienceListDictionaries){
            GetResumeByUserIdProjectExperienceList * projectExperienceListItem = [[GetResumeByUserIdProjectExperienceList alloc] initWithDictionary:projectExperienceListDictionary];
            [projectExperienceListItems addObject:projectExperienceListItem];
        }
        self.projectExperienceList = projectExperienceListItems;
    }
    if(![dictionary[kGetResumeByUserIdRootClassRemark] isKindOfClass:[NSNull class]]){
        self.remark = dictionary[kGetResumeByUserIdRootClassRemark];
    }
    if(![dictionary[kGetResumeByUserIdRootClassResumeId] isKindOfClass:[NSNull class]]){
        self.resumeId = [dictionary[kGetResumeByUserIdRootClassResumeId] integerValue];
    }
    
    if(![dictionary[kGetResumeByUserIdRootClassSelfDescription] isKindOfClass:[NSNull class]]){
        self.selfDescription = dictionary[kGetResumeByUserIdRootClassSelfDescription];
    }
    if(![dictionary[kGetResumeByUserIdRootClassSex] isKindOfClass:[NSNull class]]){
        self.sex = [dictionary[kGetResumeByUserIdRootClassSex] integerValue];
    }
    
    if(dictionary[kGetResumeByUserIdRootClassSkillList] != nil && [dictionary[kGetResumeByUserIdRootClassSkillList] isKindOfClass:[NSArray class]]){
        NSArray * skillListDictionaries = dictionary[kGetResumeByUserIdRootClassSkillList];
        NSMutableArray * skillListItems = [NSMutableArray array];
        for(NSDictionary * skillListDictionary in skillListDictionaries){
            GetResumeByUserIdSkillList * skillListItem = [[GetResumeByUserIdSkillList alloc] initWithDictionary:skillListDictionary];
            [skillListItems addObject:skillListItem];
        }
        self.skillList = skillListItems;
    }
    if(![dictionary[kGetResumeByUserIdRootClassUserName] isKindOfClass:[NSNull class]]){
        self.userName = dictionary[kGetResumeByUserIdRootClassUserName];
    }
    if(dictionary[kGetResumeByUserIdRootClassWorkExperienceList] != nil && [dictionary[kGetResumeByUserIdRootClassWorkExperienceList] isKindOfClass:[NSArray class]]){
        NSArray * workExperienceListDictionaries = dictionary[kGetResumeByUserIdRootClassWorkExperienceList];
        NSMutableArray * workExperienceListItems = [NSMutableArray array];
        for(NSDictionary * workExperienceListDictionary in workExperienceListDictionaries){
            GetResumeByUserIdWorkExperienceList * workExperienceListItem = [[GetResumeByUserIdWorkExperienceList alloc] initWithDictionary:workExperienceListDictionary];
            [workExperienceListItems addObject:workExperienceListItem];
        }
        self.workExperienceList = workExperienceListItems;
    }
    if(![dictionary[kGetResumeByUserIdRootClassWorkLife] isKindOfClass:[NSNull class]]){
        self.workLife = [dictionary[kGetResumeByUserIdRootClassWorkLife] floatValue];
    }
    
    if(![dictionary[kGetResumeByUserIdRootClassBirthYear] isKindOfClass:[NSNull class]]){
        self.birthYear = [dictionary[kGetResumeByUserIdRootClassBirthYear] integerValue];
    }
    if(![dictionary[kGetResumeByUserIdRootClassBirthMonth] isKindOfClass:[NSNull class]]){
        self.birthMonth = [dictionary[kGetResumeByUserIdRootClassBirthMonth] integerValue];
    }
    
    return self;
}


/**
 * Returns all the available property values in the form of NSDictionary object where the key is the approperiate json key and the value is the value of the corresponding property
 */
-(NSDictionary *)toDictionary
{
    NSMutableDictionary * dictionary = [NSMutableDictionary dictionary];
    if(self.eduExperienceList != nil){
        NSMutableArray * dictionaryElements = [NSMutableArray array];
        for(GetResumeByUserIdEduExperienceList * eduExperienceListElement in self.eduExperienceList){
            [dictionaryElements addObject:[eduExperienceListElement toDictionary]];
        }
        dictionary[kGetResumeByUserIdRootClassEduExperienceList] = dictionaryElements;
    }
    if(self.email != nil){
        dictionary[kGetResumeByUserIdRootClassEmail] = self.email;
    }
    if(self.expectedModel != nil){
        dictionary[kGetResumeByUserIdRootClassExpectedModel] = self.expectedModel;
    }
    if(self.expectedModelCode != nil){
        dictionary[kGetResumeByUserIdRootClassExpectedModelCode] = self.expectedModelCode;
    }
    if(self.expectedSalary != nil){
        dictionary[kGetResumeByUserIdRootClassExpectedSalary] = self.expectedSalary;
    }
    if(self.expectedSalaryCode != nil){
        dictionary[kGetResumeByUserIdRootClassExpectedSalaryCode] = self.expectedSalaryCode;
    }
    if(self.expectedWork != nil){
        dictionary[kGetResumeByUserIdRootClassExpectedWork] = self.expectedWork;
    }
    if(self.expectedWorkCode != nil){
        dictionary[kGetResumeByUserIdRootClassExpectedWorkCode] = self.expectedWorkCode;
    }
    if(self.expectedWorkplace != nil){
        dictionary[kGetResumeByUserIdRootClassExpectedWorkplace] = self.expectedWorkplace;
    }
    if(self.expectedWorkplaceCode != nil){
        dictionary[kGetResumeByUserIdRootClassExpectedWorkplaceCode] = self.expectedWorkplaceCode;
    }
    if(self.headImg != nil){
        dictionary[kGetResumeByUserIdRootClassHeadImg] = self.headImg;
    }
    dictionary[kGetResumeByUserIdRootClassIsVeteran] = @(self.isVeteran);
    if(self.labelList != nil){
        NSMutableArray * dictionaryElements = [NSMutableArray array];
        for(GetResumeByUserIdLabelList * labelListElement in self.labelList){
            [dictionaryElements addObject:[labelListElement toDictionary]];
        }
        dictionary[kGetResumeByUserIdRootClassLabelList] = dictionaryElements;
    }
    if(self.location != nil){
        dictionary[kGetResumeByUserIdRootClassLocation] = self.location;
    }
    if(self.locationCode != nil){
        dictionary[kGetResumeByUserIdRootClassLocationCode] = self.locationCode;
    }
    if(self.maxEducation != nil){
        dictionary[kGetResumeByUserIdRootClassMaxEducation] = self.maxEducation;
    }
    if(self.maxEducationCode != nil){
        dictionary[kGetResumeByUserIdRootClassMaxEducationCode] = self.maxEducationCode;
    }
    if(self.mobile != nil){
        dictionary[kGetResumeByUserIdRootClassMobile] = self.mobile;
    }
    if(self.projectExperienceList != nil){
        NSMutableArray * dictionaryElements = [NSMutableArray array];
        for(GetResumeByUserIdProjectExperienceList * projectExperienceListElement in self.projectExperienceList){
            [dictionaryElements addObject:[projectExperienceListElement toDictionary]];
        }
        dictionary[kGetResumeByUserIdRootClassProjectExperienceList] = dictionaryElements;
    }
    if(self.remark != nil){
        dictionary[kGetResumeByUserIdRootClassRemark] = self.remark;
    }
    dictionary[kGetResumeByUserIdRootClassResumeId] = @(self.resumeId);
    if(self.selfDescription != nil){
        dictionary[kGetResumeByUserIdRootClassSelfDescription] = self.selfDescription;
    }
    dictionary[kGetResumeByUserIdRootClassSex] = @(self.sex);
    if(self.skillList != nil){
        NSMutableArray * dictionaryElements = [NSMutableArray array];
        for(GetResumeByUserIdSkillList * skillListElement in self.skillList){
            [dictionaryElements addObject:[skillListElement toDictionary]];
        }
        dictionary[kGetResumeByUserIdRootClassSkillList] = dictionaryElements;
    }
    if(self.userName != nil){
        dictionary[kGetResumeByUserIdRootClassUserName] = self.userName;
    }
    if(self.workExperienceList != nil){
        NSMutableArray * dictionaryElements = [NSMutableArray array];
        for(GetResumeByUserIdWorkExperienceList * workExperienceListElement in self.workExperienceList){
            [dictionaryElements addObject:[workExperienceListElement toDictionary]];
        }
        dictionary[kGetResumeByUserIdRootClassWorkExperienceList] = dictionaryElements;
    }
    dictionary[kGetResumeByUserIdRootClassWorkLife] = @(self.workLife);
    dictionary[kGetResumeByUserIdRootClassBirthYear] = @(self.birthYear);
    dictionary[kGetResumeByUserIdRootClassBirthMonth] = @(self.birthMonth);

    return dictionary;
    
}

/**
 * Implementation of NSCoding encoding method
 */
/**
 * Returns all the available property values in the form of NSDictionary object where the key is the approperiate json key and the value is the value of the corresponding property
 */
- (void)encodeWithCoder:(NSCoder *)aCoder
{
    if(self.eduExperienceList != nil){
        [aCoder encodeObject:self.eduExperienceList forKey:kGetResumeByUserIdRootClassEduExperienceList];
    }
    if(self.email != nil){
        [aCoder encodeObject:self.email forKey:kGetResumeByUserIdRootClassEmail];
    }
    if(self.expectedModel != nil){
        [aCoder encodeObject:self.expectedModel forKey:kGetResumeByUserIdRootClassExpectedModel];
    }
    if(self.expectedModelCode != nil){
        [aCoder encodeObject:self.expectedModelCode forKey:kGetResumeByUserIdRootClassExpectedModelCode];
    }
    if(self.expectedSalary != nil){
        [aCoder encodeObject:self.expectedSalary forKey:kGetResumeByUserIdRootClassExpectedSalary];
    }
    if(self.expectedSalaryCode != nil){
        [aCoder encodeObject:self.expectedSalaryCode forKey:kGetResumeByUserIdRootClassExpectedSalaryCode];
    }
    if(self.expectedWork != nil){
        [aCoder encodeObject:self.expectedWork forKey:kGetResumeByUserIdRootClassExpectedWork];
    }
    if(self.expectedWorkCode != nil){
        [aCoder encodeObject:self.expectedWorkCode forKey:kGetResumeByUserIdRootClassExpectedWorkCode];
    }
    if(self.expectedWorkplace != nil){
        [aCoder encodeObject:self.expectedWorkplace forKey:kGetResumeByUserIdRootClassExpectedWorkplace];
    }
    if(self.expectedWorkplaceCode != nil){
        [aCoder encodeObject:self.expectedWorkplaceCode forKey:kGetResumeByUserIdRootClassExpectedWorkplaceCode];
    }
    if(self.headImg != nil){
        [aCoder encodeObject:self.headImg forKey:kGetResumeByUserIdRootClassHeadImg];
    }
    [aCoder encodeObject:@(self.isVeteran) forKey:kGetResumeByUserIdRootClassIsVeteran];	if(self.labelList != nil){
        [aCoder encodeObject:self.labelList forKey:kGetResumeByUserIdRootClassLabelList];
    }
    if(self.location != nil){
        [aCoder encodeObject:self.location forKey:kGetResumeByUserIdRootClassLocation];
    }
    if(self.locationCode != nil){
        [aCoder encodeObject:self.locationCode forKey:kGetResumeByUserIdRootClassLocationCode];
    }
    if(self.maxEducation != nil){
        [aCoder encodeObject:self.maxEducation forKey:kGetResumeByUserIdRootClassMaxEducation];
    }
    if(self.maxEducationCode != nil){
        [aCoder encodeObject:self.maxEducationCode forKey:kGetResumeByUserIdRootClassMaxEducationCode];
    }
    if(self.mobile != nil){
        [aCoder encodeObject:self.mobile forKey:kGetResumeByUserIdRootClassMobile];
    }
    if(self.projectExperienceList != nil){
        [aCoder encodeObject:self.projectExperienceList forKey:kGetResumeByUserIdRootClassProjectExperienceList];
    }
    if(self.remark != nil){
        [aCoder encodeObject:self.remark forKey:kGetResumeByUserIdRootClassRemark];
    }
    [aCoder encodeObject:@(self.resumeId) forKey:kGetResumeByUserIdRootClassResumeId];	if(self.selfDescription != nil){
        [aCoder encodeObject:self.selfDescription forKey:kGetResumeByUserIdRootClassSelfDescription];
    }
    [aCoder encodeObject:@(self.sex) forKey:kGetResumeByUserIdRootClassSex];	if(self.skillList != nil){
        [aCoder encodeObject:self.skillList forKey:kGetResumeByUserIdRootClassSkillList];
    }
    if(self.userName != nil){
        [aCoder encodeObject:self.userName forKey:kGetResumeByUserIdRootClassUserName];
    }
    if(self.workExperienceList != nil){
        [aCoder encodeObject:self.workExperienceList forKey:kGetResumeByUserIdRootClassWorkExperienceList];
    }
    [aCoder encodeObject:@(self.workLife) forKey:kGetResumeByUserIdRootClassWorkLife];
    [aCoder encodeObject:@(self.birthYear) forKey:kGetResumeByUserIdRootClassBirthYear];
    [aCoder encodeObject:@(self.birthMonth) forKey:kGetResumeByUserIdRootClassBirthMonth];
}

/**
 * Implementation of NSCoding initWithCoder: method
 */
- (instancetype)initWithCoder:(NSCoder *)aDecoder
{
    self = [super init];
    self.eduExperienceList = [aDecoder decodeObjectForKey:kGetResumeByUserIdRootClassEduExperienceList];
    self.email = [aDecoder decodeObjectForKey:kGetResumeByUserIdRootClassEmail];
    self.expectedModel = [aDecoder decodeObjectForKey:kGetResumeByUserIdRootClassExpectedModel];
    self.expectedModelCode = [aDecoder decodeObjectForKey:kGetResumeByUserIdRootClassExpectedModelCode];
    self.expectedSalary = [aDecoder decodeObjectForKey:kGetResumeByUserIdRootClassExpectedSalary];
    self.expectedSalaryCode = [aDecoder decodeObjectForKey:kGetResumeByUserIdRootClassExpectedSalaryCode];
    self.expectedWork = [aDecoder decodeObjectForKey:kGetResumeByUserIdRootClassExpectedWork];
    self.expectedWorkCode = [aDecoder decodeObjectForKey:kGetResumeByUserIdRootClassExpectedWorkCode];
    self.expectedWorkplace = [aDecoder decodeObjectForKey:kGetResumeByUserIdRootClassExpectedWorkplace];
    self.expectedWorkplaceCode = [aDecoder decodeObjectForKey:kGetResumeByUserIdRootClassExpectedWorkplaceCode];
    self.headImg = [aDecoder decodeObjectForKey:kGetResumeByUserIdRootClassHeadImg];
    self.isVeteran = [[aDecoder decodeObjectForKey:kGetResumeByUserIdRootClassIsVeteran] boolValue];
    self.labelList = [aDecoder decodeObjectForKey:kGetResumeByUserIdRootClassLabelList];
    self.location = [aDecoder decodeObjectForKey:kGetResumeByUserIdRootClassLocation];
    self.locationCode = [aDecoder decodeObjectForKey:kGetResumeByUserIdRootClassLocationCode];
    self.maxEducation = [aDecoder decodeObjectForKey:kGetResumeByUserIdRootClassMaxEducation];
    self.maxEducationCode = [aDecoder decodeObjectForKey:kGetResumeByUserIdRootClassMaxEducationCode];
    self.mobile = [aDecoder decodeObjectForKey:kGetResumeByUserIdRootClassMobile];
    self.projectExperienceList = [aDecoder decodeObjectForKey:kGetResumeByUserIdRootClassProjectExperienceList];
    self.remark = [aDecoder decodeObjectForKey:kGetResumeByUserIdRootClassRemark];
    self.resumeId = [[aDecoder decodeObjectForKey:kGetResumeByUserIdRootClassResumeId] integerValue];
    self.selfDescription = [aDecoder decodeObjectForKey:kGetResumeByUserIdRootClassSelfDescription];
    self.sex = [[aDecoder decodeObjectForKey:kGetResumeByUserIdRootClassSex] integerValue];
    self.skillList = [aDecoder decodeObjectForKey:kGetResumeByUserIdRootClassSkillList];
    self.userName = [aDecoder decodeObjectForKey:kGetResumeByUserIdRootClassUserName];
    self.workExperienceList = [aDecoder decodeObjectForKey:kGetResumeByUserIdRootClassWorkExperienceList];
    self.workLife = [[aDecoder decodeObjectForKey:kGetResumeByUserIdRootClassWorkLife] floatValue];
    self.birthYear = [[aDecoder decodeObjectForKey:kGetResumeByUserIdRootClassBirthYear] integerValue];
    self.birthMonth = [[aDecoder decodeObjectForKey:kGetResumeByUserIdRootClassBirthMonth] integerValue];

    return self;
    
}

/**
 * Implementation of NSCopying copyWithZone: method
 */
- (instancetype)copyWithZone:(NSZone *)zone
{
    GetResumeByUserIdRootClass *copy = [GetResumeByUserIdRootClass new];
    
    copy.eduExperienceList = [self.eduExperienceList copyWithZone:zone];
    copy.email = [self.email copyWithZone:zone];
    copy.expectedModel = [self.expectedModel copyWithZone:zone];
    copy.expectedModelCode = [self.expectedModelCode copyWithZone:zone];
    copy.expectedSalary = [self.expectedSalary copyWithZone:zone];
    copy.expectedSalaryCode = [self.expectedSalaryCode copyWithZone:zone];
    copy.expectedWork = [self.expectedWork copyWithZone:zone];
    copy.expectedWorkCode = [self.expectedWorkCode copyWithZone:zone];
    copy.expectedWorkplace = [self.expectedWorkplace copyWithZone:zone];
    copy.expectedWorkplaceCode = [self.expectedWorkplaceCode copyWithZone:zone];
    copy.headImg = [self.headImg copyWithZone:zone];
    copy.isVeteran = self.isVeteran;
    copy.labelList = [self.labelList copyWithZone:zone];
    copy.location = [self.location copyWithZone:zone];
    copy.locationCode = [self.locationCode copyWithZone:zone];
    copy.maxEducation = [self.maxEducation copyWithZone:zone];
    copy.maxEducationCode = [self.maxEducationCode copyWithZone:zone];
    copy.mobile = [self.mobile copyWithZone:zone];
    copy.projectExperienceList = [self.projectExperienceList copyWithZone:zone];
    copy.remark = [self.remark copyWithZone:zone];
    copy.resumeId = self.resumeId;
    copy.selfDescription = [self.selfDescription copyWithZone:zone];
    copy.sex = self.sex;
    copy.skillList = [self.skillList copyWithZone:zone];
    copy.userName = [self.userName copyWithZone:zone];
    copy.workExperienceList = [self.workExperienceList copyWithZone:zone];
    copy.workLife = self.workLife;
    copy.birthYear = self.birthYear;
    copy.birthMonth = self.birthMonth;

    return copy;
}
@end
